﻿// <copyright file="RegistryEntryAttributes.cs" company="Sinclair Community College">
// Copyright 2010 Sinclair Community College
// </copyright>
// <originalAuthor>Patrick S. Seymour (patrick.seymour@gmail.com)</originalAuthor>

namespace SinclairCC.AppV
{
    using System;

    /// <summary>
    /// The attributes that can be associated with a registry entry value.
    /// </summary>
    /// <remarks>
    /// These values can be used as bit fields.
    /// Any fields not listed are reserved.
    /// </remarks>
    [Flags]
    public enum RegistryEntryAttributes : int
    {
        /// <summary>
        /// The entry is for a deleted node.
        /// </summary>
        DeletedNode = 0x00000040,

        /// <summary>
        /// The entry is for a virtual node.
        /// </summary>
        VirtualNode = 0x00000080,

        /// <summary>
        /// The entry has a data value associated with it.
        /// </summary>
        HasValue = 0x00000400,

        /// <summary>
        /// The entry is for a virtual value.
        /// </summary>
        VirtualValue = 0x00001000,

        /// <summary>
        /// The entry is for a deleted value.
        /// </summary>
        DeletedValue = 0x00002000
    }
}
